/*
	a c file to store some functions which aren' t tested.
*/

bool check_color(OSL_IMAGE img, OSL_COLOR color, int x, int y)
{
  OSL_COLOR pixel=oslConvertColorEx(theimage->palette, OSL_PF_8888, theimage->pixelFormat, oslGetImagePixel(img, x, y));

  if(pixel==color) return true;
  else return false;
}